home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffuuuunnnncccctttt((((3333GGGG)))) aaaaffffuuuunnnncccctttt((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- aaaaffffuuuunnnncccctttt - specify alpha test function
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee aaaaffffuuuunnnncccctttt((((rrrreeeeffff,,,, ffffuuuunnnncccc))))
- iiiinnnntttteeeeggggeeeerrrr****4444 rrrreeeeffff,,,, ffffuuuunnnncccc
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _r_e_f expects a reference value with which to compare source alpha at
- each pixel. This value should be in the range 0 through 255.
-
- _f_u_n_c is a symbolic constant taken from the list below. It identifies
- the alpha comparison function: AAAAFFFFNNNNEEEEVVVVEEEE, AAAAFFFFLLLLEEEESSSSSSSS, AAAAFFFFEEEEQQQQUUUUAAAA, AAAAFFFFLLLLEEEEQQQQUUUU,
- AAAAFFFFGGGGRRRREEEEAAAA, AAAAFFFFNNNNOOOOTTTTEEEE, AAAAFFFFGGGGEEEEQQQQUUUU, and AAAAFFFFAAAALLLLWWWWAAAA. AAAAFFFFAAAALLLLWWWWAAAA is the default.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaaffffuuuunnnncccctttt makes the drawing of pixels conditional on the relationship of the
- incoming alpha value with a reference constant value. It is typically
- used to avoid updating either the color or the z bitplanes of a
- framebuffer pixel when the incoming pixel is completely transparent.
- Arguments _r_e_f and _f_u_n_c specify the conditions under which the pixel will
- be drawn. The incoming (source) alpha value is compared against _r_e_f with
- function _f_u_n_c. This comparison function is specified with the symbolic
- constants:
-
- AAAAFFFFNNNNEEEEVVVVEEEE Never pass.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is less than _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is equal to _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is less than or equal to _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is greater than _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is greater than or equal to _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Pass if alpha is not equal to _r_e_f.
-
- AAAAFFFFNNNNEEEEVVVVEEEE Always pass.
-
- If the comparison passes, the incoming pixel is drawn (conditional on
- subsequent other tests like z-buffer).
-
- aaaaffffuuuunnnncccctttt can be called with arguments 0000,,,,AAAAFFFFNNNNOOOOTTTTEEEE to defeat drawing of
- completely transparent pixels. This assumes that incoming alpha is
- proportional to pixel coverage, as it is when either ppppooooiiiinnnnttttssss or lllliiiinnnneeeessssmmmm is
- being used.
-
- aaaaffffuuuunnnncccctttt testing follows scan conversion and texture mapping but precedes
- all other pixel tests. Thus, if the test fails, color, zbuffer and
- stencil contents will not be modified.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaaffffuuuunnnncccctttt((((3333GGGG)))) aaaaffffuuuunnnncccctttt((((3333GGGG))))
-
-
-
- aaaaffffuuuunnnncccctttt operates on all pixel writes, including those resulting from the
- scan conversion of points, lines, and polygons, and from pixel write and
- copy operations. aaaaffffuuuunnnncccctttt does not affect screen clear operation, however.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- blendf
-
- NNNNOOOOTTTTEEEESSSS
- IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
- aaaaffffuuuunnnncccctttt. Use ggggeeeettttggggddddeeee to determine what support is available for aaaaffffuuuunnnncccctttt.
-
- BBBBUUUUGGGGSSSS
- On IRIS-4D VGX, XS, XS24, XZ, Elan and Extreme models, aaaaffffuuuunnnncccctttt cannot be
- enabled while sssstttteeeennnncccciiii is being used. Also on these models, only AAAAFFFFNNNNOOOOTTTTEEEE
- with _r_e_f equal to 0 and AAAAFFFFAAAALLLLWWWWAAAA are supported.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-